import axios from "axios";

export const uploadApi = (data: ArrayBuffer, name: string) => axios.post('/api/film/upload', data, {
  headers: {
    'X-File-Name': name
  }
})
export const uploadFinishedApi = (fileName: string, extName: string, hashName: string) => axios.post('/api/film/uploadfinished', {
  name: fileName, extName, hashName
})
